<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/view/common/init.jsp"%>
<%
	String path = request.getContextPath();
%>



<!--header-->
<%@ include file="header.jsp"%>
<!--header-->
<table width="1003" height="302" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="212" height="46" scope="col"><img src="view/images/a_bg_01.jpg" width="212" height="46" /></th>
    <th width="318" scope="col"><img src="view/images/a_bg_02.jpg" width="318" height="46" /></th>
    <th width="277" scope="col"><img src="view/images/a_bg_03.jpg" width="277" height="46" /></th>
    <th width="206" scope="col"><img src="view/images/a_bg_04.jpg" width="196" height="46" /></th>
  </tr>
  <tr>
    <td height="144" background="view/images/a_bg_05.jpg">   
     <table width="192" border="0" align="right">
      <tr>
        <th colspan="2" scope="col" align="left">产品搜索</th>
        </tr>
      <%@ include file="leftSearch.jsp"%>
    </table></td>
    <td rowspan="3"><img src="view/images/a_bg_08.jpg" width="318" height="239" /></td>
    <td rowspan="3"><img src="view/images/p_bg_09.jpg" width="277" height="238" /></td>
    <td rowspan="3"><img src="view/images/a_bg_10.jpg" width="196" height="239" /></td>
  </tr>
  <tr>
    <td><img src="view/images/a_bg_06.jpg" width="212" height="64" /></td>
  </tr>
  <tr>
    <td height="31"><img src="view/images/a_bg_07.jpg" width="212" height="31" /></td>
  </tr>
  <tr>
    <td background="view/images/a_bg_11.jpg" align="right"><strong><span class="STYLE8">PRODUCTS&nbsp;&nbsp;</span></strong></td>
    <td background="view/images/a_bg_12.jpg" align="left" class="css">
	<a name="proList" id="proList"></a>您现在的位置：<strong>产品列表</strong></td>
    <td background="view/images/a_bg_15.jpg"></td>
    <td><img src="view/images/a_bg111.jpg.jpg" /></td>
  </tr>
  <tr>
    <td width="212" height="auto" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <logic:present name="blist">
		<logic:iterate id="bclazz" name="blist">
        <tr align="right" class="left_font">
          <td width="90%"><a href="productAction.do?method=proList&proId=${bclazz.bclassId}">${bclazz.bclassName}</a></td>
            <td width="10%" align="center"><img src="view/images/arrow_black.jpg" width="9" height="7" /></td>
        </tr>
		</logic:iterate>
          </logic:present>
      </table></td>
    <td colspan="2" valign="top">
    <table width="100%" border="0" align="center" height="auto">     
	<logic:present name="page">
			<logic:iterate id="list" name="page" property="result"	scope="request" >	
      <tr>
        <td rowspan="2" valign="middle" align="left" width="20%">
		<img src="view/products/UploadImg/${list.productPic}" onload="proDownImage(this,150,150);"/></td>
        <td height="10" align="left">           
			<bean:define id="productId" value="${list.productId}" />
			<bean:define id="name" value="${list.productName}" />
			<bean:define id="type" value="${list.type}" />
			<a href="productAction.do?method=show&pId=${list.productId}" target="_blank">
		<font size="-3"><strong>产品名称：</strong></font>
		<strong><font color="#FF0000"><%=Part2Util.subStringText(name,10)%></font></strong> &nbsp;&nbsp;
		<%if(type!=null&&!type.equals("")){%>
		<font size="-3"><strong>型号：</strong></font>${list.type}<%}%></a>       
        </td>
      </tr>
      <tr>
        <td  class="css" align="left" width="60%" valign="top">
		<bean:define id="info" value="${list.productInfo}" />
		<%=Part2Util.subStringText(info,200)%>...
		<a href="productAction.do?method=show&pId=${list.productId}" target="_blank"><strong><点击查看详细资料></strong></a>
		<hr size="1" noshade="noshade" style="border:1px #cccccc dotted"/>
		</td>		
      </tr>
	 
	  </logic:iterate>
	 </logic:present>
      <tr>
        <td height="15" colspan="2" class="css" align="center">
		<logic:present	name="page">
		<%String pagePath = "";%>
		<logic:notPresent name="key">
		<%pagePath = "productAction.do?method=proList&proId="+ request.getAttribute("proId");%>
		</logic:notPresent>
		<pager:pager action="<%=pagePath%>" />
	</logic:present>

<logic:notPresent name="page">
		<td colspan="3" class="css" align="center">
		<strong>暂无数据</strong>
		</td>
		</logic:notPresent>
        </td>
      </tr>
    </table></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td rowspan="2"><img src="view/images/a_bg_16.jpg" width="212" height="113" /></td>
    <td colspan="2"><img src="view/images/a_bg_17.jpg" width="595" height="46" /></td>
    <td rowspan="2"><img src="view/images/a_bg_19.jpg" width="196" height="113" /></td>
  </tr>
  <tr>
    <td colspan="2"><img src="view/images/a_bg_18.jpg" width="595" height="67" /></td>
  </tr>
<!--footer-->
<%@ include file="footer.jsp"%>
<!--footer-->
</table>
</body>
</html>